﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master_KQXS.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="WebUI.Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="colwrap">
        <br />
        <asp:Repeater ID="Repeater" runat="server">
            <ItemTemplate>
                <table cellpadding="0" cellspacing="0" width="100%">
                    <tbody>
                        <tr>
                            <td>
                                <table width="100%" style="border-bottom: 1px;">
                                    <tr>
                                        <td class="main_box_t_r">
                                            <h3>
                                                <span class="icon maintitle">Kết quả xổ số:
                                                    <asp:Label ID="Lb_tinh" runat="server" Text=' <%#ThanhTu.GNCMedia.KQXS.Common.Utils.ToUTF8String((byte[]) Eval("PROVINCE_NAME")) %>'></asp:Label>
                                                    ngày:
                                                    <asp:Label ID="lb_ngayMo" runat="server" Text='<%# String.Format("{0:dd/MM/yyyy}", DataBinder.Eval(Container.DataItem,"RESULTDATE")) %>'></asp:Label></span>
                                            </h3>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <table width="100%">
                                                <thead>
                                                    <tr>
                                                        <th class="dacbiet" scope="col">
                                                            Giải đặc biệt
                                                        </th>
                                                        <th class="sodacbiet" scope="col">
                                                            <asp:Label ID="Lb_giaDacBiet" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "SPEC") %>'></asp:Label>
                                                        </th>
                                                    </tr>
                                                </thead>
                                                <tfoot>
                                                    <tr>
                                                        <td class="main_table_t" colspan="2">
                                                            <span>Soạn tin: </span><span style="color: red;">
                                                                <%# DataBinder.Eval(Container.DataItem, "syntax") %></span> <span>gửi tới</span>
                                                            <span style="color: red;">
                                                                <%# DataBinder.Eval(Container.DataItem, "Switchoard")%></span> <span>để nhận kết quả
                                                                </span><span style="color: red;">
                                                                    <%#ThanhTu.GNCMedia.KQXS.Common.Utils.ToUTF8String((byte[]) Eval("PROVINCE_NAME")) %></span><span> sớm nhất!</span>
                                                        </td>
                                                    </tr>
                                                </tfoot>
                                                <tbody>
                                                    <tr class="td1">
                                                        <td class="name">
                                                            <span style="font-weight: bold;">Giải nhất</span>
                                                        </td>
                                                        <td class="value">
                                                            <asp:Label ID="lb_giaiNhat" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "ONE") %>'></asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr class="td2">
                                                        <td class="name">
                                                            <span style="font-weight: bold;">Giải nhì</span>
                                                        </td>
                                                        <td class="value">
                                                            <asp:Label ID="Lb_giaiNhi" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "TWO") %>'></asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr class="td1">
                                                        <td class="name">
                                                            <span style="font-weight: bold;">Giải ba</span>
                                                        </td>
                                                        <td class="value">
                                                            <asp:Label ID="Lb_giaiBa" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "THREE") %>'></asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr class="td2">
                                                        <td class="name">
                                                            <span style="font-weight: bold;">Giải tư</span>
                                                        </td>
                                                        <td class="value">
                                                            <asp:Label ID="Lb_giaiTu" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "FOUR") %>'></asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr class="td1">
                                                        <td class="name">
                                                            <span style="font-weight: bold;">Giải năm</span>
                                                        </td>
                                                        <td class="value">
                                                            <asp:Label ID="lb_giaiNam" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "FIVE") %>'></asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr class="td2">
                                                        <td class="name">
                                                            <span style="font-weight: bold;">Giải sáu</span>
                                                        </td>
                                                        <td class="value">
                                                            <asp:Label ID="lb_giaiSau" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "SIX") %>'></asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr class="td1">
                                                        <td class="name">
                                                            <span style="font-weight: bold;">Giải bảy</span>
                                                        </td>
                                                        <td class="value">
                                                            <asp:Label ID="Lb_giaiBay" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "SEVEN") %>'></asp:Label>
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <br />
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </ItemTemplate>
        </asp:Repeater>
    </div>
</asp:Content>
